<template>
  <view class="content">
	  <view class="">
	  	{{value}}
	  </view>
	  <button click="onClick">+1</button>
  </view>
  
</template>

<!-- <script module="render" lang="renderjs">
export default {
    methods: {
        _inputFocus (event) {
            document.querySelector('#input input').select()
        }
    }
}
</script> -->

<script setup>
import { ref, onMounted } from 'vue'

const value = ref(100)
const emit = defineEmits(['onClick'])
function onClick() {
	// value.value++
	emit('onClick', 1)
}
defineExpose({
	onClick,
})
</script>
<style lang="scss" scoped></style>
